// https://nuxt.com/docs/api/configuration/nuxt-config

export default defineNuxtConfig({
  ssr: false,

  compatibilityDate: "2025-07-15",
  devtools: { enabled: true },
  modules: ["@unocss/nuxt", "@nuxt/image"],
  vite: {
    optimizeDeps: {
      include: ["nuxt-swiper"], // 确保 Vite 预构建
    },
  },
  css: ["@/assets/css/main.css", "swiper/css"],
});
